Piwik\DbHelper S

Total Complexity 50
Dependencies 8
Dependents 56
Total lines 332
Lines of code 135
Logical lines of code 69
Comment lines 168
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
addOriginHintToQuery()
A
53 12 20
getDefaultCharset()
S
58 6 15
addJoinPrefixHintToQuery()
S
63 3 10
dropDatabase()
S
73 3 5
isInstalled()
S
69 2 7
deleteArchiveTables()
S
67 2 7
wasMatomoInstalledBeforeVersion()
S
68 2 7
getUtf8mb4ConversionQueries()
S
66 2 8
getTablesInstalled()
S
80 1 3
tableHasIndex()
S
73 1 4
addMaxExecutionTimeHintToQuery()
S
79 1 3
getTableCreateSql()
S
80 1 3
getTablesCreateSql()
S
80 1 3
getDefaultCollationForCharset()
S
80 1 3
disconnectDatabase()
S
79 1 3
createDatabase()
S
80 1 3
tableExists()
S
72 1 4
checkDatabaseVersion()
S
79 1 3
createTables()
S
81 1 3
getInstallVersion()
S
79 1 3
recordInstallVersion()
S
81 1 3
createAnonymousUser()
S
81 1 3
truncateAllTables()
S
81 1 3
createTable()
S
79 1 3
getTableColumns()
S
80 1 3
isValidDbname()
S
78 1 3